Optimal. Leaf size=19 \[ -\frac {1}{f \sqrt {a \cosh ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3255, 3284, 16,
32} \begin {gather*} -\frac {1}{f \sqrt {a \cosh ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 32
Rule 3255
Rule 3284
Rubi steps
\begin {align*} \int \frac {\tanh (e+f x)}{\sqrt {a+a \sinh ^2(e+f x)}} \, dx &=\int \frac {\tanh (e+f x)}{\sqrt {a \cosh ^2(e+f x)}} \, dx\\ &=\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {a x}} \, dx,x,\cosh ^2(e+f x)\right )}{2 f}\\ &=\frac {a \text {Subst}\left (\int \frac {1}{(a x)^{3/2}} \, dx,x,\cosh ^2(e+f x)\right )}{2 f}\\ &=-\frac {1}{f \sqrt {a \cosh ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 19, normalized size = 1.00 \begin {gather*} -\frac {1}{f \sqrt {a \cosh ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.60, size = 20, normalized size = 1.05
method | result | size |
derivativedivides | \(-\frac {1}{\sqrt {a +a \left (\sinh ^{2}\left (f x +e \right )\right )}\, f}\) | \(20\) |
default | \(-\frac {1}{\sqrt {a +a \left (\sinh ^{2}\left (f x +e \right )\right )}\, f}\) | \(20\) |
risch | \(-\frac {2}{\sqrt {\left ({\mathrm e}^{2 f x +2 e}+1\right )^{2} a \,{\mathrm e}^{-2 f x -2 e}}\, f}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 35, normalized size = 1.84 \begin {gather*} -\frac {2 \, e^{\left (-f x - e\right )}}{{\left (\sqrt {a} e^{\left (-2 \, f x - 2 \, e\right )} + \sqrt {a}\right )} f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 168 vs.
\(2 (17) = 34\).
time = 0.47, size = 168, normalized size = 8.84 \begin {gather*} -\frac {2 \, \sqrt {a e^{\left (4 \, f x + 4 \, e\right )} + 2 \, a e^{\left (2 \, f x + 2 \, e\right )} + a} {\left (\cosh \left (f x + e\right ) e^{\left (f x + e\right )} + e^{\left (f x + e\right )} \sinh \left (f x + e\right )\right )} e^{\left (-f x - e\right )}}{a f \cosh \left (f x + e\right )^{2} + {\left (a f e^{\left (2 \, f x + 2 \, e\right )} + a f\right )} \sinh \left (f x + e\right )^{2} + a f + {\left (a f \cosh \left (f x + e\right )^{2} + a f\right )} e^{\left (2 \, f x + 2 \, e\right )} + 2 \, {\left (a f \cosh \left (f x + e\right ) e^{\left (2 \, f x + 2 \, e\right )} + a f \cosh \left (f x + e\right )\right )} \sinh \left (f x + e\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tanh {\left (e + f x \right )}}{\sqrt {a \left (\sinh ^{2}{\left (e + f x \right )} + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.85, size = 30, normalized size = 1.58 \begin {gather*} -\frac {\sqrt {a\,{\mathrm {sinh}\left (e+f\,x\right )}^2+a}}{a\,f\,{\mathrm {cosh}\left (e+f\,x\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________